#ifndef GAMESETTINGS_H
#define GAMESETTINGS_H
#include "datasource.h"
#include <QSettings>

class GameSettings
{
public:

    static GameSettings * Instance()
    {
        if(!p_instance)
            p_instance = new GameSettings();
        return p_instance;
    }
    Source cardSource();
    Source userInfoSource();
    void setUserSource(int);
    void setCardSource(int);

private:
    GameSettings();
    GameSettings(const GameSettings& root);
    static GameSettings * p_instance;
    QSettings *settings;


};

#endif // GAMESETTINGS_H
